package com.tinymall.mapper;

import com.tinymall.common.pojo.entity.User;
import com.tinymall.common.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

/**
 * Description: 用户注册与登录
 * Author:      TX
 * Date:        2022/7/321:57
 * Version:     V1.0.0
 */
@Repository
public interface UserMapper {
    // 根据用户名查询用户信息
    UserVO selectUserByUsername(String username);

    // 新增用户信息
    int insertUser(User user);

}
